package org.micro.alibaba.provider.feign;

import org.micro.alibaba.common.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author keven
 * @date 2025-07-03 10:36 上午
 * @Description
 */
@FeignClient(name = "consumer")
public interface UserFeignClient {

    @GetMapping("/user/getUserById")
    User getUserById(@RequestParam("userId") Long userId);

}
